package com.ynet.middleground.contract.bean;

import javax.validation.constraints.NotNull;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 删除合约类型请求类
 * @date 2020-04-06 04:06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "删除合约类型请求类", description = "删除合约类型请求类")
public class DeleteContractTypeReq extends BaseReqObj {

    private static final long serialVersionUID = 4030303572806808588L;

    @ApiModelProperty(value = "业态公司 id \n（仅综合管理平台使用）", notes = "业态公司 id \n（仅综合管理平台使用）", dataType = "Integer")
    private Integer formatId;

    /**
     * 合约类型 id
     */
    @ApiModelProperty(value = "合约类型 id", notes = "合约类型 id", dataType = "Integer", required = true)
    @NotNull(message = "合约类型 id 不能为空")
    private Integer id;

}
